package cn.iocoder.an.module.business.controller.admin.faultclassification.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 故障类型新增/修改 Request VO")
@Data
public class FaultClassificationSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "18316")
    private Long id;

    @Schema(description = "故障类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "液压")
    @NotEmpty(message = "故障类型不能为空")
    private String name;

    @Schema(description = "状态", example = "2")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @Schema(description = "描述", example = "随便")
    private String description;

}